package com.aistar.service;

import com.aistar.pojo.Address;
import com.aistar.util.ServerResponse;

public interface AddressService extends BaseService<Address> {

    //通过用户id 查询该用户地址的个数
    public ServerResponse getAddressCount(Integer customerId);

    //不分页查询所有地址 用户的
    public ServerResponse getAllByCustomerId(Integer customerId);

    //分页查询所有地址 用户的
    public ServerResponse getAllPageCustomerId(Integer customerId,Integer pageNum);


}
